// src/api/auth.ts
import request from '../utils/request'

export const login = (data:any) => { return request.post('/user/login', data)}

export const register = (data:any) => { return request.post('/user/register', data)}